package src.com.foreknow.view;

import src.com.foreknow.service.UserService;
import src.com.foreknow.service.impl.UserServiceImpl;

public class Test {
    public static void main(String[] args) {
        //调用service层的方法
        UserService service = new UserServiceImpl();
        boolean isRight = service.isValidate("Jack","123456");
        if (isRight){
            System.out.println("登录成功...");
        }else {
            System.out.println("登录失败...");
        }
    }
}




